package com.comp.web.webservice;

import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

@WebService(targetNamespace = "http://webservice.web.comp.com/",name = "DemoWebservice")
@Produces({MediaType.APPLICATION_JSON+";charset=utf-8", MediaType.APPLICATION_XML})
public interface DemoWebservice {
    public String sayGood();
    public String sayHello(@WebParam(name="id") int id, @WebParam(name="name") String name);
    public String welcome(@WebParam(name="data") String data);
}
